package com.comet;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
public class GatewayApplication {

    // 分布式事务测试：http://localhost:8888/order-service/api/v1/order/gts
    // 网关流控测试：http://localhost:8888/order-service/api/v1/order/sentinelFlowLimit/xiaoming
    // 订单网关LB服务测试：http://localhost:8888/order-service/api/v1/order/list
    // 视频网关LB服务测试：http://localhost:8888/video-service/api/v1/video/find_video_by_id?videoId=40
    // 全链路服务调用测试：http://localhost:8888/order-service/api/v1/order/find_video_by_id?videoId=40
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }

}
